package cn.yunhe.entity;
import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Lib implements Serializable {
    private int lib_id;
    private String lib_name;
    private String lib_desc;
    private Teacher teacher;

    public Lib() {
        super();
    }

    public Lib(String lib_desc, String lib_name, Teacher teacher) {
        this.lib_desc = lib_desc;
        this.lib_name = lib_name;
        this.teacher = teacher;
    }

    public Lib(int lib_id, String lib_name, String lib_desc, Teacher teacher) {
        this.lib_id = lib_id;
        this.lib_name = lib_name;
        this.lib_desc = lib_desc;
        this.teacher = teacher;
    }

    public int getLib_id() {
        return lib_id;
    }

    public void setLib_id(int lib_id) {
        this.lib_id = lib_id;
    }

    public String getLib_name() {
        return lib_name;
    }

    public void setLib_name(String lib_name) {
        this.lib_name = lib_name;
    }

    public String getLib_desc() {
        return lib_desc;
    }

    public void setLib_desc(String lib_desc) {
        this.lib_desc = lib_desc;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "Lib{" +
                "lib_desc='" + lib_desc + '\'' +
                ", lib_id=" + lib_id +
                ", lib_name='" + lib_name + '\'' +
                ", teacher=" + teacher +
                '}';
    }
}
